//
//  Extension+User.swift
//  AYContext
//
//  Created by amg on 2021/4/2.
//

import Foundation
import AYUtilCore

public protocol loginData {
    var user : AYUserModel? { get }
}

public extension loginData {
    var user: AYUserModel? {
        return AYGlobal.shared.user
    }
}

extension AYBaseVc: loginData {

}
